package com.rainbow.controller;

import cn.hutool.core.lang.Console;
import com.rainbow.entity.Result;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;

/**
 * @Author rainbow
 **/
@RestController
@RequestMapping("/api/v1")
public class LoginController {

    @PostMapping("/login")
    public Result login(@RequestBody String  params) {
        return Result.successResult("成功!");
    }
    @GetMapping("/employee/advanced/hello")
    public String hello() {
        return "hello";
    }    @GetMapping("/employee/basic/hello")
    public String basicHello() {
        return "basicHello";
    }

}
